build: fix exported variable name CFLAGS_stack_boundary
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 16 Feb 2022 14:53:04 +0000 (15:53 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 16 Feb 2022 14:53:04 +0000 (15:53 +0100)
commit17093dbac91d187607ceb30b9e2b177fd7b38559
tree7c372df6ae599694ea3e387d38025aa149924c39
parent58d289c90690841def25b451d3855a187781b3ab
build: fix exported variable name CFLAGS_stack_boundary

Exporting a variable with a dash doesn't work reliably, they may be
striped from the environment when calling a sub-make or sub-shell.

CFLAGS-stack-boundary start to be removed from env in patch "build:
set ALL_OBJS in main Makefile; move prelink.o to main Makefile" when
running `make "ALL_OBJS=.."` due to the addition of the quote. At
least in my empirical tests.

Fixes: 2740d96efd ("xen/build: have the root Makefile generates the CFLAGS")
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Rules.mk
xen/arch/x86/arch.mk
xen/arch/x86/efi/Makefile